<template>
    <view class="custom_header" style="height: {{navH}}px">
        <view class="search">
            <view>
                <view id="icon">
                    <u-icon name="arrow-left" color="#2979ff" size="18" @click="icon"></u-icon>
                </view>
            </view>
            <view>确认报价</view>
            <view></view>
        </view>
    </view>
    <view class="app">


        <view class="header">
            <view>
                <p>产品记录数量</p>
                <p>10条</p>
            </view>
            <view>
                <p>产品总数量</p>
                <p>100个</p>
            </view>
            <view>
                <p>产品总金额</p>
                <p>￥10,000.00</p>
            </view>
        </view>
        <view class="content">
            <view>
                <li class="content_li">
                    <view class="dis_s">
                        <view>尊贵钻石VIP年会员</view>
                        <view style="font-size: 10px;">价格（年）<span style="color: red;">￥10,000.00</span> </view>
                        <view>
                            <u-checkbox-group>
                                <u-checkbox checked shape="circle"></u-checkbox>
                            </u-checkbox-group>
                        </view>
                    </view>
                    <view class="dis_z">
                        <view style="width: 160px;height: 30px;display: flex; align-items: center;">
                            单价（元）<up-input placeholder="10000" border="surround"></up-input>

                        </view>
                        <view style="width: 160px;height: 30px;display: flex; align-items: center;">
                            <p style="margin-right: 15px;">数量</p>
                            <u-number-box :step="1"></u-number-box>
                        </view>
                    </view>
                    <view class="dis_x">
                        <view style="width: 160px;height: 30px;display: flex; align-items: center;">
                            <p style="margin-right: 22px;">折扣(%)</p> <up-input placeholder="10"
                                border="surround"></up-input>

                        </view>
                        <view style="width: 160px;height: 30px;display: flex; align-items: center;">

                            <p style="margin-right: 5px;"> 总价(元)</p>
                            <up-input placeholder="9000" border="surround"></up-input>
                        </view>
                    </view>
                    <view class="dis_c">
                        <view style="width: 160px;height: 30px;display: flex; align-items: center;">
                            <p style="margin-right: 45px;">礼品</p>
                            <up-input border="surround"></up-input>

                        </view>
                        <view style="width: 160px;height: 30px;display: flex; align-items: center;">
                            <p style="margin-right: 30px;">备注</p><up-input border="surround"></up-input>
                        </view>
                    </view>
                </li>
            </view>
            <view>
                <li class="content_li">
                    <view class="dis_s">
                        <view>尊贵钻石VIP年会员</view>
                        <view style="font-size: 10px;">价格（年）<span style="color: red;">￥10,000.00</span> </view>
                        <view>
                            <u-checkbox-group>
                                <u-checkbox checked shape="circle"></u-checkbox>
                            </u-checkbox-group>
                        </view>
                    </view>
                    <view class="dis_z">
                        <view style="width: 160px;height: 30px;display: flex; align-items: center;">
                            单价（元）<up-input placeholder="10000" border="surround"></up-input>

                        </view>
                        <view style="width: 160px;height: 30px;display: flex; align-items: center;">
                            <p style="margin-right: 15px;">数量</p>
                            <u-number-box :step="1"></u-number-box>
                        </view>
                    </view>
                    <view class="dis_x">
                        <view style="width: 160px;height: 30px;display: flex; align-items: center;">
                            <p style="margin-right: 22px;">折扣(%)</p> <up-input placeholder="10"
                                border="surround"></up-input>

                        </view>
                        <view style="width: 160px;height: 30px;display: flex; align-items: center;">

                            <p style="margin-right: 5px;"> 总价(元)</p>
                            <up-input placeholder="9000" border="surround"></up-input>
                        </view>
                    </view>
                    <view class="dis_c">
                        <view style="width: 160px;height: 30px;display: flex; align-items: center;">
                            <p style="margin-right: 45px;">礼品</p>
                            <up-input border="surround"></up-input>

                        </view>
                        <view style="width: 160px;height: 30px;display: flex; align-items: center;">
                            <p style="margin-right: 30px;">备注</p><up-input border="surround"></up-input>
                        </view>
                    </view>
                </li>
            </view>
            <view>
                <li class="content_li">
                    <view class="dis_s">
                        <view>尊贵钻石VIP年会员</view>
                        <view style="font-size: 10px;">价格（年）<span style="color: red;">￥10,000.00</span> </view>
                        <view>
                            <u-checkbox-group>
                                <u-checkbox checked shape="circle"></u-checkbox>
                            </u-checkbox-group>
                        </view>
                    </view>
                    <view class="dis_z">
                        <view style="width: 160px;height: 30px;display: flex; align-items: center;">
                            单价（元）<up-input placeholder="10000" border="surround"></up-input>

                        </view>
                        <view style="width: 160px;height: 30px;display: flex; align-items: center;">
                            <p style="margin-right: 15px;">数量</p>
                            <u-number-box :step="1"></u-number-box>
                        </view>
                    </view>
                    <view class="dis_x">
                        <view style="width: 160px;height: 30px;display: flex; align-items: center;">
                            <p style="margin-right: 22px;">折扣(%)</p> <up-input placeholder="10"
                                border="surround"></up-input>

                        </view>
                        <view style="width: 160px;height: 30px;display: flex; align-items: center;">

                            <p style="margin-right: 5px;"> 总价(元)</p>
                            <up-input placeholder="9000" border="surround"></up-input>
                        </view>
                    </view>
                    <view class="dis_c">
                        <view style="width: 160px;height: 30px;display: flex; align-items: center;">
                            <p style="margin-right: 45px;">礼品</p>
                            <up-input border="surround"></up-input>

                        </view>
                        <view style="width: 160px;height: 30px;display: flex; align-items: center;">
                            <p style="margin-right: 30px;">备注</p><up-input border="surround"></up-input>
                        </view>
                    </view>
                </li>
            </view>
            <view>
                <li class="content_li">
                    <view class="dis_s">
                        <view>尊贵钻石VIP年会员</view>
                        <view style="font-size: 10px;">价格（年）<span style="color: red;">￥10,000.00</span> </view>
                        <view>
                            <u-checkbox-group>
                                <u-checkbox checked shape="circle"></u-checkbox>
                            </u-checkbox-group>
                        </view>
                    </view>
                    <view class="dis_z">
                        <view style="width: 160px;height: 30px;display: flex; align-items: center;">
                            单价（元）<up-input placeholder="10000" border="surround"></up-input>

                        </view>
                        <view style="width: 160px;height: 30px;display: flex; align-items: center;">
                            <p style="margin-right: 15px;">数量</p>
                            <u-number-box :step="1"></u-number-box>
                        </view>
                    </view>
                    <view class="dis_x">
                        <view style="width: 160px;height: 30px;display: flex; align-items: center;">
                            <p style="margin-right: 22px;">折扣(%)</p> <up-input placeholder="10"
                                border="surround"></up-input>

                        </view>
                        <view style="width: 160px;height: 30px;display: flex; align-items: center;">

                            <p style="margin-right: 5px;"> 总价(元)</p>
                            <up-input placeholder="9000" border="surround"></up-input>
                        </view>
                    </view>
                    <view class="dis_c">
                        <view style="width: 160px;height: 30px;display: flex; align-items: center;">
                            <p style="margin-right: 45px;">礼品</p>
                            <up-input border="surround"></up-input>

                        </view>
                        <view style="width: 160px;height: 30px;display: flex; align-items: center;">
                            <p style="margin-right: 30px;">备注</p><up-input border="surround"></up-input>
                        </view>
                    </view>
                </li>
            </view>
            <view>
                <li class="content_li">
                    <view class="dis_s">
                        <view>尊贵钻石VIP年会员</view>
                        <view style="font-size: 10px;">价格（年）<span style="color: red;">￥10,000.00</span> </view>
                        <view>
                            <u-checkbox-group>
                                <u-checkbox checked shape="circle"></u-checkbox>
                            </u-checkbox-group>
                        </view>
                    </view>
                    <view class="dis_z">
                        <view style="width: 160px;height: 30px;display: flex; align-items: center;">
                            单价（元）<up-input placeholder="10000" border="surround"></up-input>

                        </view>
                        <view style="width: 160px;height: 30px;display: flex; align-items: center;">
                            <p style="margin-right: 15px;">数量</p>
                            <u-number-box :step="1"></u-number-box>
                        </view>
                    </view>
                    <view class="dis_x">
                        <view style="width: 160px;height: 30px;display: flex; align-items: center;">
                            <p style="margin-right: 22px;">折扣(%)</p> <up-input placeholder="10"
                                border="surround"></up-input>

                        </view>
                        <view style="width: 160px;height: 30px;display: flex; align-items: center;">

                            <p style="margin-right: 5px;"> 总价(元)</p>
                            <up-input placeholder="9000" border="surround"></up-input>
                        </view>
                    </view>
                    <view class="dis_c">
                        <view style="width: 160px;height: 30px;display: flex; align-items: center;">
                            <p style="margin-right: 45px;">礼品</p>
                            <up-input border="surround"></up-input>

                        </view>
                        <view style="width: 160px;height: 30px;display: flex; align-items: center;">
                            <p style="margin-right: 30px;">备注</p><up-input border="surround"></up-input>
                        </view>
                    </view>
                </li>
            </view>
            <view>
                <li class="content_li">
                    <view class="dis_s">
                        <view>尊贵钻石VIP年会员</view>
                        <view style="font-size: 10px;">价格（年）<span style="color: red;">￥10,000.00</span> </view>
                        <view>
                            <u-checkbox-group>
                                <u-checkbox checked shape="circle"></u-checkbox>
                            </u-checkbox-group>
                        </view>
                    </view>
                    <view class="dis_z">
                        <view style="width: 160px;height: 30px;display: flex; align-items: center;">
                            单价（元）<up-input placeholder="10000" border="surround"></up-input>

                        </view>
                        <view style="width: 160px;height: 30px;display: flex; align-items: center;">
                            <p style="margin-right: 15px;">数量</p>
                            <u-number-box :step="1"></u-number-box>
                        </view>
                    </view>
                    <view class="dis_x">
                        <view style="width: 160px;height: 30px;display: flex; align-items: center;">
                            <p style="margin-right: 22px;">折扣(%)</p> <up-input placeholder="10"
                                border="surround"></up-input>

                        </view>
                        <view style="width: 160px;height: 30px;display: flex; align-items: center;">

                            <p style="margin-right: 5px;"> 总价(元)</p>
                            <up-input placeholder="9000" border="surround"></up-input>
                        </view>
                    </view>
                    <view class="dis_c">
                        <view style="width: 160px;height: 30px;display: flex; align-items: center;">
                            <p style="margin-right: 45px;">礼品</p>
                            <up-input border="surround"></up-input>

                        </view>
                        <view style="width: 160px;height: 30px;display: flex; align-items: center;">
                            <p style="margin-right: 30px;">备注</p><up-input border="surround"></up-input>
                        </view>
                    </view>
                </li>
            </view>

        </view>

        <view class="ding">
            <view>
                <p style="margin-bottom: 20px;">
                    <view style="width: 160px;height: 30px;display: flex; align-items: center;">

                        <p style="margin-right: 5px;"> 总价(元)</p>
                        <up-input placeholder="10" border="surround"></up-input>
                    </view>
                </p>
                <p>
                    <view style="width: 160px;height: 30px;display: flex; align-items: center;">

                        <p style="margin-right: 5px;"> 总价(元)</p>
                        <up-input placeholder="90000" border="surround"></up-input>
                    </view>
                </p>
            </view>
            <view class="btn" @click="baocun">
                <button class="bao">保存</button>
            </view>
        </view>
    </view>
</template>

<script setup lang="ts">
const icon = () => {
    uni.navigateTo({
        url: '/pages/qiao-crm/qiao-sousuo/shenzhen'
    })
}
const baocun = () => {
    uni.navigateTo({
        url: '/pages/qiao-crm/qiao-sousuo/qiaogongsi'
    })
}


</script>

<style lang="scss">
.bao {
    width: 100px;
    height: 30px;
    background: inherit;
    background-color: rgba(0, 121, 254, 1);
    border: none;
    border-radius: 40px;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    font-family: '微软雅黑', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 12px;
    color: #FFFFFF;
    line-height: 30px;
}

.btn {
    width: 150px;
    height: 50px;
    line-height: 50px;
}

.app {
    width: 100vw;
    height: 100vh;
}

.ding {
    margin-left: 8px;
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0px;
}

.dis_s {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10px;
}

.dis_z {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 10px;
}

.dis_x {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10px;
}

.dis_c {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 10px;
}

.content_li {
    width: 360px;
    height: 180px;
    background-color: #fff;
    margin-top: 10px;
    border: 1px solid #ccc;
}

.header {
    width: 320px;
    border: 1px solid #ccc;
    margin-top: 100px;
    margin-left: 8px;
    height: 40px;
    display: flex;
    justify-content: space-between;
    padding: 20px 20px;
    color: #999;

    view {
        width: 100px;
        text-align: center;
    }
}

.content {
    border: 1px solid #ccc;
    margin-left: 8px;
    width: 360px;
    height: calc(100vh - 100px - 100px);
    background-color: rgb(249, 249, 249);
    overflow: hidden;
    overflow-y: scroll;
}

.custom_header {
    display: flex;
    justify-content: space-between;
    width: 100vw;
    line-height: 150rpx;
    font-weight: bold;
    position: fixed;
    left: 0;
    top: 10px;
    z-index: 99;


}

.search {
    display: flex;
    width: 375px;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10px;
    position: relative;

    .inp {
        width: 250px;
        height: 60rpx;
        border: 1rpx solid #ccc;
        border-radius: 30rpx;
        padding-left: 30px;
        margin-left: 30px;

    }
}

#icon {
    position: absolute;
    top: 40px;
    left: 10px;
    z-index: 66;
}
</style>